def odd_sum():
    """
    实现1到100间奇数求和
    :return:
    """
    print(sum([x for x in range(101) if x % 2 == 1]))

def fun1():
    """
    打印九九乘法表
    :return:
    """
    for i in range(1,10):
        for j in range(1,i+1):
            print(f'{j}*{i}={i*j:2}',end=' ')
        print()



if __name__ == '__main__':
    # odd_sum()
    fun1()